package specialfeatures;

import java.io.IOException;
import java.net.URL;

import javax.xml.parsers.ParserConfigurationException;


import org.xml.sax.SAXException;


public interface SpecialFeatures {
	

	/**
	 * @return - returns String - lyrics or null if not found
	 * @throws IOException - returnes string "IOException"
	 * @throws IllegalStateException  - returns string "Protocol Exception"
	 * @throws SAXException 
	 * @throws ParserConfigurationException 
	 * @throws InterruptedException 
	 *
	 */
	public String getLyrics(String artist, String song) throws IllegalStateException, IOException, ParserConfigurationException, SAXException, InterruptedException;
	/**
	 * 
	 * @return CdCover Image or null if no image is found
	 * @throws SAXException 
	 * @throws ParserConfigurationException 
	 * @throws IOException 
	 * @throws InterruptedException 
	 */
	public  URL getCdCover(String artist, String cdName) throws IOException, ParserConfigurationException, SAXException, InterruptedException;
	
	/**
	 * 
	 * @return String-wiki page
	 * @throws IOException 
	 */
	public  String getWikiPage(String artist) throws IOException;
	/**
	 * 
	 * @param artist name
	 * @return Amazon page for this artist
	 * @throws IOException
	 */
	public  String getAmazonPage(String artist) throws IOException;

}
